import {
  createStore, applyMiddleware,
} from 'redux';
import { composeWithDevTools } from 'redux-devtools-extension';
import reduxThunk from 'redux-thunk';

import reducers from './reducer';

const store = createStore(reducers, composeWithDevTools(
  applyMiddleware(reduxThunk),
));

export default store;
